package com.cn.springcloudwechat.model;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class YmChildrenOrderVaccination {
    /**
     *预约疫苗流水ID
     */
    private Long orderVaccinationId;
    /**
     *小孩ID
     */
    private Long childId;
    /**
     *接种站点id
     */
    private Long stationId;
    /**
     *预约站点工作时间id
     */
    private Long stationWorkOrderId;
    /**
     *预约站点名称
     */
    private String stationName;
    /**
     *预约站点的详情地址
     */
    private String stationAddr;
    /**
     *接种疫苗ID
     */
    private Long vaccineId;
    /**
     *接种证条码
     */
    private String vaccineCard;
    /**
     *预约时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date orderTime;
    /**
     *已接种时间(2018-01-01)
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date vaccinationTime;
    /**
     *已经接种周(周一)
     */
    private String vaccinationWeek;
    /**
     *下一剂接种时间(2018-01-01)
     */
    private Date nextVaccinationTime;
    /**
     *下一剂接种周
     */
    private String nextVaccinationWeek;
    /**
     *接种状态(0未接种1已接种)
     */
    private Short state;
    /**
     *预约状态(0未预约1已预约2取消预约)
     */
    private Short orderState;
    /**
     *创建时间
     */
    private Date createTime;
    /**
     *更新时间
     */
    private Date updateTime;
    /**
     * 挂号数
     */
    private Long rowNumber;

    public Long getRowNumber() {
        return rowNumber;
    }

    public YmChildrenOrderVaccination setRowNumber(Long rowNumber) {
        this.rowNumber = rowNumber;
        return this;
    }

    public Long getOrderVaccinationId() {
        return orderVaccinationId;
    }

    public void setOrderVaccinationId(Long orderVaccinationId) {
        this.orderVaccinationId = orderVaccinationId;
    }

    public Long getChildId() {
        return childId;
    }

    public void setChildId(Long childId) {
        this.childId = childId;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public Long getStationWorkOrderId() {
        return stationWorkOrderId;
    }

    public void setStationWorkOrderId(Long stationWorkOrderId) {
        this.stationWorkOrderId = stationWorkOrderId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName == null ? null : stationName.trim();
    }

    public String getStationAddr() {
        return stationAddr;
    }

    public void setStationAddr(String stationAddr) {
        this.stationAddr = stationAddr == null ? null : stationAddr.trim();
    }

    public Long getVaccineId() {
        return vaccineId;
    }

    public void setVaccineId(Long vaccineId) {
        this.vaccineId = vaccineId;
    }

    public String getVaccineCard() {
        return vaccineCard;
    }

    public void setVaccineCard(String vaccineCard) {
        this.vaccineCard = vaccineCard == null ? null : vaccineCard.trim();
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Date getVaccinationTime() {
        return vaccinationTime;
    }

    public void setVaccinationTime(Date vaccinationTime) {
        this.vaccinationTime = vaccinationTime;
    }

    public String getVaccinationWeek() {
        return vaccinationWeek;
    }

    public void setVaccinationWeek(String vaccinationWeek) {
        this.vaccinationWeek = vaccinationWeek == null ? null : vaccinationWeek.trim();
    }

    public Date getNextVaccinationTime() {
        return nextVaccinationTime;
    }

    public void setNextVaccinationTime(Date nextVaccinationTime) {
        this.nextVaccinationTime = nextVaccinationTime;
    }

    public String getNextVaccinationWeek() {
        return nextVaccinationWeek;
    }

    public void setNextVaccinationWeek(String nextVaccinationWeek) {
        this.nextVaccinationWeek = nextVaccinationWeek == null ? null : nextVaccinationWeek.trim();
    }

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public Short getOrderState() {
        return orderState;
    }

    public void setOrderState(Short orderState) {
        this.orderState = orderState;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}